package com.hycreate.platform.modules.config;

import org.hibernate.validator.constraints.Length;

import com.hycreate.platform.common.persistence.DataEntity;

/**
 * 前端配置Entity
 * @author hoader
 * @version 2017-01-17
 */
public class SfConfig extends DataEntity<SfConfig> {
	
	private static final long serialVersionUID = 1L;
	private String csShow;		// 客服中心显示配置
	private String csShowImgs;		// 客服中心显示配置图片
	private String csLanguage;		// 客服中心中英文切换
	private String scVoiceWake;		// 屏保语音唤醒配置
	private String scUrl;		// 屏保地址配置
	private String sShowUrl;		// 服务网点显示地址
	private String status;		// 状态
	
	public SfConfig() {
		super();
	}

	public SfConfig(String id){
		super(id);
	}

	@Length(min=0, max=64, message="客服中心显示配置长度必须介于 0 和 64 之间")
	public String getCsShow() {
		return csShow;
	}

	public void setCsShow(String csShow) {
		this.csShow = csShow;
	}
	
	@Length(min=0, max=64, message="客服中心中英文切换长度必须介于 0 和 64 之间")
	public String getCsLanguage() {
		return csLanguage;
	}

	public void setCsLanguage(String csLanguage) {
		this.csLanguage = csLanguage;
	}
	
	@Length(min=0, max=500, message="屏保语音唤醒配置长度必须介于 0 和 500 之间")
	public String getScVoiceWake() {
		return scVoiceWake;
	}

	public void setScVoiceWake(String scVoiceWake) {
		this.scVoiceWake = scVoiceWake;
	}
	
	@Length(min=0, max=500, message="屏保地址配置长度必须介于 0 和 500 之间")
	public String getScUrl() {
		return scUrl;
	}

	public void setScUrl(String scUrl) {
		this.scUrl = scUrl;
	}
	
	@Length(min=0, max=500, message="服务网点显示地址长度必须介于 0 和 500 之间")
	public String getSShowUrl() {
		return sShowUrl;
	}

	public void setSShowUrl(String sShowUrl) {
		this.sShowUrl = sShowUrl;
	}
	
	@Length(min=0, max=64, message="状态长度必须介于 0 和 64 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getsShowUrl() {
		return sShowUrl;
	}

	public void setsShowUrl(String sShowUrl) {
		this.sShowUrl = sShowUrl;
	}

	public String getCsShowImgs() {
		return csShowImgs;
	}

	public void setCsShowImgs(String csShowImgs) {
		this.csShowImgs = csShowImgs;
	}
}